package main

import (
	"fmt"
	"time"
)

/*===单个goruntine调用===
  -
*/
func main() {
	go hello()
	fmt.Println("hello,main")
	/* [note] 创建新的goruntine要需要时间，不sleep则还没创建好main线程就结束了 */
	time.Sleep(time.Second)
}
func hello() {
	fmt.Println("hello,goruntine")
}
